package com.ruoyi.web.districtclass.mapper;

import java.util.List;
import com.ruoyi.web.districtclass.domain.Districtclass;

/**
 * districtclassMapper接口
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
public interface DistrictclassMapper 
{
    /**
     * 查询districtclass
     * 
     * @param cDCCode districtclass主键
     * @return districtclass
     */
    public Districtclass selectDistrictclassByCDCCode(String cDCCode);
    public Districtclass selectDistrictclassByCDCName(String cDCName);

    /**
     * 查询districtclass列表
     * 
     * @param districtclass districtclass
     * @return districtclass集合
     */
    public List<Districtclass> selectDistrictclassList(Districtclass districtclass);

    /**
     * 新增districtclass
     * 
     * @param districtclass districtclass
     * @return 结果
     */
    public int insertDistrictclass(Districtclass districtclass);

    /**
     * 修改districtclass
     * 
     * @param districtclass districtclass
     * @return 结果
     */
    public int updateDistrictclass(Districtclass districtclass);

    /**
     * 删除districtclass
     * 
     * @param cDCCode districtclass主键
     * @return 结果
     */
    public int deleteDistrictclassByCDCCode(String cDCCode);

    /**
     * 批量删除districtclass
     * 
     * @param cDCCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDistrictclassByCDCCodes(String[] cDCCodes);
}
